package creational.factory.factoryMethod.creators;

import creational.factory.factoryMethod.FruitCreator;
import creational.factory.factoryMethod.FactoryException;
import creational.factory.factoryMethod.Fruit;
import creational.factory.factoryMethod.products.Grape;

public class GrapeCreator extends FruitCreator {

    @Override
    public Fruit instance() throws FactoryException {
        Fruit f = new Grape();
        return f;
    }
}
